<?php
/**
 * Created by PhpStorm.
 * User: jz
 * Date: 16/7/14
 * Time: 上午11:05
 */
require_once ('bookmark_fns.php');
session_start();

do_html_header('推荐书签');

try{
    check_valid_user();
    $urls = get_recommend_urls($_SESSION['valid_user']);
    display_recommend_urls($urls);
}catch (Exception $e){
    echo $e->getMessage();
}
display_user_menu();
do_html_footer();